﻿using System;
using System.IdentityModel.Tokens.Jwt;
using System.Text;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using QuickDotNetCore.Config;
using QuickDotNetCore.Models;
using QuickDotNetCore.Utils;
using QuickDotNetCore.VO;
using System.Reflection;
using QuickDotNetCore.Attributrs;
using QuickDotNetCore.Services.User;
using System.Collections.Generic;
using System.Security.Claims;
using QuickDotNetCore.Templates;

namespace QuickDotNetCore.Controllers
{
    /// <summary>
    /// 用户操作
    /// </summary>
    [Route("api2/[controller]")]
    [ApiController]
    [ApiGroupSort(999)]
    public class DemoController : ControllerBase
    {


        [AllowAnonymous]
        [HttpGet("Demo")]
        public BaseResponse<string> Demo()
        {
            return BaseResponse<string>.Success("Nice");
        }

    }
}
